package org.budo.netty.servlet.server.handler.servlet.dispatcher;

import org.budo.netty.servlet.server.handler.servlet.BudoServletRequest;
import org.budo.netty.servlet.server.handler.servlet.BudoServletRequestWrapper;

/**
 * @author lmw
 */
public class BudoNameRequestDispatcherRequest extends BudoServletRequestWrapper {
    private String name;

    public BudoNameRequestDispatcherRequest(String name, BudoServletRequest request) {
        super(request);
        this.name = name;
    }

    public String getName() {
        return this.name;
    }

    @Override
    public String toString() {
        return super.toString() + ", name=" + this.getName() + ", request=" + this.getRequest();
    }
}